package com.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.project.common.base.BaseEntity;

/**
 * 餐饮表 goods_info
 *
 * @author administrator
 */
public class GoodsInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 餐饮编号
     */
    private Long goodsId;
    private Long userId;
    private String userName;
    /**
     * 餐饮名称
     */
    private String goodsName;
    /**
     * 简介说明
     */
    private String briefInformation;
    /**
     * 类型
     */
    private Long dictCode;
    private Integer goodsType;
    private String goodsTypeName;
    /**
     * 首图
     */
    private String imgUrl;
    /**
     * 原料
     */
    private String attr1;
    /**
     * 品牌
     */
    private String attr2;
    /**
     * 价格
     */
    private Double goodsPrice;
    /**
     * 详情
     */
    private String details;
    /*库存剩余*/
    private Double goodsLeft;
    /*总销量*/
    private Double sumSales;
    /*餐饮状态0已上架1已下架*/
    private Integer status;

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setBriefInformation(String briefInformation) {
        this.briefInformation = briefInformation;
    }

    public String getBriefInformation() {
        return briefInformation;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    public String getAttr1() {
        return attr1;
    }

    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    public String getAttr2() {
        return attr2;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getDetails() {
        return details;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public Long getDictCode() {
        return dictCode;
    }

    public void setDictCode(Long dictCode) {
        this.dictCode = dictCode;
    }

    public Double getGoodsLeft() {
        return goodsLeft;
    }

    public void setGoodsLeft(Double goodsLeft) {
        this.goodsLeft = goodsLeft;
    }

    public Double getSumSales() {
        return sumSales;
    }

    public void setSumSales(Double sumSales) {
        this.sumSales = sumSales;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("briefInformation", getBriefInformation())
                .append("goodsType", getGoodsType())
                .append("imgUrl", getImgUrl())
                .append("attr1", getAttr1())
                .append("attr2", getAttr2())
                .append("goodsPrice", getGoodsPrice())
                .append("details", getDetails())
                .toString();
    }
}
